package com.ggg.clothesshop.service;

import com.ggg.clothesshop.model.Address;

import java.util.List;

public interface AddressService {

    //添加一个地址信息
    int addAddress(Address address);

    //查询一页地址信息
    Object selectByPage(int pageNum, int pageSize, int userid);

    //根据地址id删除地址信息
    int deleteAddress(int addressid);

    List<Address> selectListAddress(int userid);

    Address selectById(int addressid);

    int updateAddress(Address address);
}
